package com.example.demo.enumeration;

import com.example.demo.EnumDataType;

/**
 * @description  预约方式
 * @author Jin Tong
 * @date 2018-10-30 15:23
 */
public enum GoodsReserveTypeEnum implements EnumDataType {
    SELF_TIME((byte)1,"用户自选时间"),
    FIXED_TIME((byte)2,"固定时间");

    private Byte code;
    private String describe;

    GoodsReserveTypeEnum(Byte code, String describe) {
        this.code = code;
        this.describe = describe;
    }
    @Override
    public Byte getCode() {
        return code;
    }

    @Override
    public String getDisplay() {
        return null;
    }

    @Override
    public String getValue() {
        return null;
    }

    public void setCode(Byte code) {
        this.code = code;
    }

    public String getDescribe() {
        return describe;
    }

    public void setDescribe(String describe) {
        this.describe = describe;
    }
}
